import {RouteRecordRaw} from "vue-router";

const routes : RouteRecordRaw[] = [{
    path:'/admin',
    name:'Admin',
    component:()=>import('@/components/Admin.vue'),
    children:[{
      path:'userList',
      name:'UserList',
      component:()=>import('@/pages/admin/UserList.vue')
    },{
        path:'page1',
        name:'page1',
        component:()=>import('@/pages/admin/Page1.vue')
    },{
        path:'page2',
        name:'page2',
        component:()=>import('@/pages/admin/Page2.vue')
    },]
}]

export default routes;